package cn.lg.soar.flow.api.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author luguoxiang
 * @since 2025-08-07
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Schema(description = "代办任务")
@Data
public class TodoDTO {

    @Schema(description = "任务id")
    private String taskId;

    @Schema(description = "任务key")
    private String taskKey;

    @Schema(description = "任务名称")
    private String taskName;

    @Schema(description = "业务id")
    private String businessKey;

    @Schema(description = "流程名称")
    private String propName;

    @Schema(description = "流程id")
    private String processId;

    @Schema(description = "发起人id")
    private Long startUserId;

    @Schema(description = "发起人名称")
    private String startUserName;

    @Schema(description = "流程发起时间")
    private Date procStartTime;

    @Schema(description = "任务开始时间")
    private Date startTime;

    @Schema(description = "任务到期时间")
    private Date dueTime;

    @Schema(description = "流程实例id")
    private String procInstId;

}